﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="NetworkRequestViewDelete.aspx.vb" Inherits="ccapps.NetworkRequestViewDelete" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">


	.prompt { BACKGROUND-COLOR: #a2547f; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; FONT-FAMILY: Arial, Helvetica, sans-serif; HEIGHT: 20px; COLOR: #ffffff; FONT-SIZE: 11px; FONT-WEIGHT: bold; TEXT-DECORATION: none }
    .solbaslik { BACKGROUND-COLOR: #e6e6fa; PADDING-LEFT: 10px; FONT-FAMILY: Arial, Helvetica; COLOR: #000000; FONT-SIZE: 12px; BORDER-TOP: #dfdfdf 1px solid; TEXT-DECORATION: none }
	.input { BACKGROUND-COLOR: #f5f5f5; PADDING-LEFT: 10px; FONT-FAMILY: Arial, Helvetica; COLOR: #000000; FONT-SIZE: 12px; BORDER-TOP: #dfdfdf 1px solid; BORDER-RIGHT: #dfdfdf 1px solid; TEXT-DECORATION: none }
	


       .newbutton {
            	border-style: none;
            border-color: inherit;
            border-width: 2px;
            font-family: Verdana, Arial; 
		    font-size : 10px; 
		    font-weight : bold;
		    color: #336699;
		    padding-top:8px;
		    text-decoration: none;
            width:auto;
            float:right;
            padding-left: 3px;
            padding-right: 3px;
            padding-bottom: 3px;
        }
       

        .ikincisutun
{
	        BACKGROUND-COLOR: #f5f5f5;
           font-family: Arial, Helvetica, sans-serif;
	        font-size: 12px;
	        text-decoration: none;
	        border: 1px solid  #FFF;
            TEXT-DECORATION: none; 
            padding-right:30px; 
            height:26px;
}
        .birincisutun{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	border: 1px solid  #FFF;
	text-decoration: none;
	width: 240px;
	border-top: 1px solid #dfdfdf;
	padding-left: 10px;
	background-color: #e6e6fa;	 
    height:26px;
}
        .text_alan {
            width:150px; 
            height:26px; 
                   }
		         .auto-style1 {
          font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	border: 1px solid  #FFF;
            text-decoration: none;
            width: 240px;
            border-top: 1px solid #dfdfdf;
            padding-left: 10px;
            background-color: #e6e6fa;
            height: 32px;
        }
        .auto-style2 {
            BACKGROUND-COLOR: #f5f5f5;
           font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	border: 1px solid  #FFF;
            TEXT-DECORATION: none;
            padding-right: 30px;
            height: 32px;
        }
         		.black_overlay{
			display:none;
			position: absolute;
			top: 0%;
			left: 0%;
			width: 100%;
			height: 125%;
			background-color: black;
			z-index:1001;
			-moz-opacity: 0.8;
			opacity:.80;
			filter: alpha(opacity=80);
		}
		.white_content {
			display:none;
			position: absolute;
			top: 25%;
			left: 25%;
			width: 250px;
			height: 150px;
			padding: 16px;
			border: 8px solid #930051;
			background-color: white;
			z-index:1002;
			overflow: auto; 
            font-size:large; 
            text-align:center; 
            vertical-align:middle;  
            FONT-FAMILY: Arial, Helvetica, sans-serif; 
            FONT-SIZE: 12px; 
            FONT-WEIGHT: bold;
            border-radius:25px;          
		}
		 .enusalan { BACKGROUND-COLOR:#930051; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; padding-top:14px; FONT-FAMILY: Arial, Helvetica, sans-serif; HEIGHT: 20px; COLOR: #ffffff; FONT-SIZE: 12px; FONT-WEIGHT: bold; TEXT-DECORATION: none;
            width: 890px;
        }
		         </style>  
    <script type="text/javascript"> 
        function Confirm() {
            var confirm_value = document.createElement("INPUT");
            confirm_value.type = "hidden";
            confirm_value.name = "confirm_value";
            document.forms["form1"].submit();

            deneme2()  
            document.forms[0].appendChild(confirm_value);

        }
        function deneme2() {
            setTimeout("uyaricikar()", 1)

        }
        function uyaricikar() {

            if (Page_IsValid == true) {
                document.getElementById("light").style.display = "block";
                document.getElementById("fade").style.display = "block";
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="lblErrorMessage" runat="server" Text=""></asp:Label>
        <table width="900" style="border-collapse:collapse">
  <tr class="prompt">
    <td colspan="3"><asp:label id="lblContextHeader" runat="server">Network Request bilgilerini gormek istediginiz musterinin bilgisini girin.</asp:label></td>
  </tr>
  <tr>
    <td width="249" class="birincisutun">Msisdn <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TB_MSISDN" ErrorMessage="MSISDN alanın doldurulması zorunludur" ValidationGroup="groupMSISDN" Font-Size="Large" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TB_MSISDN" ErrorMessage="Format:5051234567" ValidationExpression="^[0-9]+$" Font-Size="Large" ForeColor="Red" ValidationGroup="groupMSISDN">(*)</asp:RegularExpressionValidator></td>
    <td width="545" class="ikincisutun"><asp:textbox id="TB_MSISDN" 
							runat="server" MaxLength="10" Width="385px" CssClass="text_alan" onkeydown = "return (event.keyCode!=13)"></asp:textbox></td>
    <td width="90" class="ikincisutun"><asp:button id="btnCheckMSISDN" runat="server" Width="60px"  CssClass="newbutton"
							Text="Getir" ValidationGroup="groupMSISDN"></asp:button></td>
  </tr>
  <tr>
    <td class="auto-style1">CoID <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_COID" ErrorMessage="COID alanın doldurulması zorunludur" ValidationGroup="groupCOID" Font-Size="Large" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TB_COID" ErrorMessage="COID Sadece rakamlardan oluşur" ValidationExpression="^[0-9]+$" Font-Size="Large" ForeColor="Red" ValidationGroup="groupCOID">(*)</asp:RegularExpressionValidator></td>
    <td class="auto-style2"> <asp:textbox id="TB_COID" 
							runat="server"  Width="385px" CssClass="text_alan" onkeydown = "return (event.keyCode!=13)"></asp:textbox></td>
    <td class="auto-style2"><asp:button id="btnCheckCOID" runat="server" Width="60px" CssClass="newbutton"
							Text="Getir" ValidationGroup="groupCOID"></asp:button></td>
  </tr>
  <tr>
    <td class="birincisutun">Abone ismi</td>
    <td class="ikincisutun"><asp:label id="lblAbone" runat="server" DESIGNTIMEDRAGDROP="138">Abone adini görmek için yukarida bir abone belirtin.</asp:label></td>
    <td class="ikincisutun">&nbsp;</td>
  </tr>
  <tr>
    <td class="birincisutun">Customer ID</td>
    <td class="ikincisutun"><asp:label id="lblCustomerID" runat="server">Abone bilgilerini görmek için yukarida bir abone belirtin.</asp:label></td>
    <td class="ikincisutun">&nbsp;</td>
  </tr>
  <tr>
    <td class="birincisutun">CoID</td>
    <td class="ikincisutun"><asp:label id="lblCoID" runat="server">Abone bilgilerini görmek için yukarida bir abone belirtin.</asp:label></td>
    <td class="ikincisutun">&nbsp;</td>
  </tr>
   <tr>
    <td class="birincisutun">Istegin durumu</td>
    <td class="ikincisutun"> <asp:CheckBox ID="chckPending" Text="Pending" runat="server" />  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <asp:CheckBox ID="chckFailed" Text="Failed" runat="server" /></td>
    <td class="ikincisutun"><asp:button id="btnAra" runat="server" Width="60px" CausesValidation="False" CssClass="newbutton"
							Text="Ara"></asp:button></td>
  </tr>
  <tr>
    <td colspan="3" class="prompt" runat="server" visible="false" id="baslik3"><asp:label style="Z-INDEX: 0" id="Label2" runat="server" Font-Size="10pt" ForeColor="White"
							Font-Bold="True" Font-Names="Tahoma" Height="14px">Aboneye ait Network Request Listesi </asp:label></td>
  </tr>
  <tr>
    <td colspan="3" class="birincisutun" id="pending" runat="server" visible="false">  
        <div class="enusalan" id="baslik2" runat="server" visible="false">  Aboneye Ait&nbsp; Pending Durumundaki Network Request Listesi</div> <br/>
                <asp:datagrid id="dgNetworkRequestListPending" runat="server" AllowPaging="True" PageSize="10" AutoGenerateColumns="False" width="900px" height="58%" AllowSorting="True"  Visible="false">
				<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
				<ItemStyle Font-Size="11px" Font-Names="Arial" BackColor="Lavender"></ItemStyle>
				<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
				<Columns>
                    <asp:TemplateColumn>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lnkSec" Runat="server" CommandName="resend" OnClientClick="Confirm()">Tekrar Gönder</asp:LinkButton>
                                        </ItemTemplate>
                    </asp:TemplateColumn>

                     <asp:TemplateColumn>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lnkSec0" Runat="server" CommandName="delete" OnClientClick="Confirm()">Sil</asp:LinkButton>
                                        </ItemTemplate>
                    </asp:TemplateColumn>
                                    <asp:BoundColumn DataField="request_id" HeaderText="Talep ID"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="status" HeaderText="Durum"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="ACTION_DATE" HeaderText="İşlem Tarihi"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="ACTION_DES" HeaderText="İşlem Tanımı"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="PRIORITY" HeaderText="Öncelik"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="CUSTCODE" HeaderText="Custcode"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="CO_CODE" HeaderText="Contract ID"></asp:BoundColumn>
                                </Columns>
								<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="#000066" BorderStyle="None" BackColor="White"></FooterStyle>
								<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
								<ItemStyle BorderWidth="1px" ForeColor="#000066" BorderStyle="Solid" BorderColor="Red"></ItemStyle>
								<HeaderStyle Font-Bold="True" ForeColor="Window" BackColor="#A2547F"></HeaderStyle>
								<PagerStyle Font-Size="11px" Font-Names="Arial" HorizontalAlign="Right" ForeColor="#000066"
									BackColor="White" Mode="NumericPages"></PagerStyle>
							</asp:datagrid><br /></td>
  </tr>
  <tr>
    <td colspan="3" class="birincisutun" id="failed" runat="server" visible="false"> 
         <div class="enusalan" id="baslik" runat="server" visible="false">  Aboneye Ait&nbsp;Failed Durumundaki Network Request Listesi</div> <br/>
        <asp:datagrid id="dgNetworkRequestListFailed" runat="server" BackColor="White" Width="900px"
								CellPadding="3" HorizontalAlign="Left" BorderStyle="None" BorderWidth="1px" BorderColor="#CCCCCC" AutoGenerateColumns="false"  Visible="false">
								<Columns>

                                     <asp:TemplateColumn>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lnkSec" Runat="server" CommandName="resend" OnClientClick="Confirm()">Tekrar Gönder</asp:LinkButton>
                                        </ItemTemplate>
                    </asp:TemplateColumn>

                     <asp:TemplateColumn>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lnkSec0" Runat="server" CommandName="delete" OnClientClick="Confirm()">Sil</asp:LinkButton>
                                        </ItemTemplate>
                    </asp:TemplateColumn>
                                    <asp:BoundColumn DataField="request_id" HeaderText="Talep ID"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="status" HeaderText="Durum"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="ACTION_DATE" HeaderText="İşlem Tarihi"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="ACTION_DES" HeaderText="İşlem Tanımı"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="PRIORITY" HeaderText="Öncelik"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="custcode" HeaderText="Custcode"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="co_code" HeaderText="Contract ID"></asp:BoundColumn>
                                </Columns>
								<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="#000066" BorderStyle="None" BackColor="White"></FooterStyle>
								<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
								<ItemStyle BorderWidth="1px" ForeColor="#000066" BorderStyle="Solid" BorderColor="Red"></ItemStyle>
								<HeaderStyle Font-Bold="True" ForeColor="Window" BackColor="#A2547F"></HeaderStyle>
								<PagerStyle Font-Size="11px" Font-Names="Arial" HorizontalAlign="Right" ForeColor="#000066"
									BackColor="White" Mode="NumericPages"></PagerStyle>
							</asp:datagrid></td>
  </tr>
  <tr>
    <td colspan="3" class="birincisutun"></td>
  </tr>
</table>				
    </div>
        <div id="light" runat="server"  class="white_content"> <img src="../gif/gif-load.gif" /><br /><br />İŞLEMİNİZ YAPILIYOR LÜTFEN BEKLEYİNİZ</div>
		<div id="fade" runat="server" class="black_overlay"></div>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="groupMSISDN" />
        <asp:ValidationSummary ID="ValidationSummary2" runat="server"  ShowMessageBox="True" ShowSummary="False"  ValidationGroup="groupCOID"/>
            
    </form>
</body>
</html>
